<template>
  <div class="index-container">
    <h1>{{ `欢迎来到${title}` }}</h1>
  </div>
</template>

<script>
  import { title } from '@/config'
  export default {
    name: 'Index',
    data() {
      return {
        title: title,
      }
    },
    created() {
      this.$route.meta.affix = true
    },
    mounted() {},
    methods: {},
  }
</script>
<style lang="scss" scoped>
  .index-container {
    background: #f5f7f8 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    h1 {
      font-size: 60px;
    }
  }
</style>
